<template>
  <div class="maintain">
    <customer-service class="vertical-menu__cell">
      <div class="customer-service_img">
        <div class="svg-icon-customer-service"></div>
        <div class="customer-service_btn">在线客服</div>
      </div>
    </customer-service>
    <div class="maintain-wrapper">
      <p class="maintain-title-big">系统维护中...</p>
      <p class="maintain-title-time">维护时间至：{{ endDate | toTime}}</p>
    </div>
  </div>
</template>

<script>
  export default {
    name: "index",
    props: ['endDate'],
  };
</script>

<style scoped lang="scss">
  .maintain {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    background-image: url('./maintainPic.jpg');
    background-size: 100% 100%;
    font-family: 'PingFangSC-Semibold';
    p{
      padding: 0;
      margin: 0;
      text-align: left;
    }
    .maintain-wrapper{
      position: absolute;
      left: 60%;
      top: 44%;
    }
    .maintain-title-big{
      font-size: 28px;
      color: #424242;
    }
    .maintain-title-time,.maintain-title-content{
      font-size: 18px;
      color: #7C7C7C;
    }
    .customer-service_img {
      position: absolute;
      top:20px;
      right: 20px;
      width: 130px;
      height: 19px;
    }
    .customer-service_btn{
      float: left;
      width: 86px;
      height: 27px;
      margin-left: 10px;
      line-height: 27px;
      text-align: center;
      color: #fff;
      background-color: rgb(30,90,220);
      border-radius: 6px;
    }
    .svg-icon-customer-service{
      width: 22px;
      height: 22px;
      background-image: url(./customer-service.svg);
      background-size: 100% 100%;
      float: left;
    }
  }
</style>
